package com.gec.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.system.ITripHotelOrder;
import com.gec.model.system.ITripSights;
import com.gec.model.system.ITripSightsOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gec.model.vo.ITripSightQueryVo;
import com.gec.model.vo.ITripSightsOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dafei
 * @since 2024-01-24
 */
public interface ITripSightsOrderMapper extends BaseMapper<ITripSightsOrder> {
    IPage<ITripSightsOrder> selectPage(IPage<ITripSightsOrder> page1,
                                  @Param("vo") ITripSightsOrderVo iTripSightsOrderVo,
                                  @Param("ew") LambdaQueryWrapper lambdaQueryWrapper
    );
    List<ITripSightsOrder> getAllByUserId(@Param("userId") Long userId);
}
